<template>
  <div class="app">
    <header class="app-header">header</header>
    <section class="app-main">
      <aside class="app-aside">aside</aside>
      <section class="app-body">
          <Nuxt/>
      </section>
    </section>
  </div>
</template>

<script scoped>
export default {};
</script>

<style>
html,
body,
#__nuxt,
#__layout {
  height: 100%;
}
</style>

<style scoped>
body {
  margin: 0;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-main {
  display: flex;
  flex-grow: 1;
}

.app-header {
  height: 60px;
  background-color: green;
}

.app-aside {
  width: 150px;
  background-color: blue;
}

.app-body {
  background-color: darkcyan;
  flex-grow: 1;
}
</style>